package com.kgc.ebookmanagement2.mapper;

import com.kgc.ebookmanagement2.pojo.Ebook_Entry;
import com.kgc.ebookmanagement2.pojo.Ebook_EntryExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface Ebook_EntryMapper {
    int countByExample(Ebook_EntryExample example);

    int deleteByExample(Ebook_EntryExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Ebook_Entry record);

    int insertSelective(Ebook_Entry record);

    List<Ebook_Entry> selectByExample(Ebook_EntryExample example);

    Ebook_Entry selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Ebook_Entry record, @Param("example") Ebook_EntryExample example);

    int updateByExample(@Param("record") Ebook_Entry record, @Param("example") Ebook_EntryExample example);

    int updateByPrimaryKeySelective(Ebook_Entry record);

    int updateByPrimaryKey(Ebook_Entry record);
}